package com.ssplayer.application;

import android.app.Application;

import com.ssplayer.bean.MusicMsg;

public class MyApplication extends Application {

	private int mplay_status;
	private int mplay_mode;
	private int mvideo_playtime;// 记录视频播放的时间，切换横竖屏时能够继续播放
	private int currentlist;//记录当前播放列表

	@Override
	public void onCreate() {
		super.onCreate();
		setMplay_status(MusicMsg.STATUS_STOP);
		setMplay_mode(MusicMsg.MODE_ORDER);
		setMvideo_playtime(0);
		setCurrentlist(-1);
	}

	public int getMplay_status() {
		return mplay_status;
	}

	public void setMplay_status(int mplay_status) {
		this.mplay_status = mplay_status;
	}

	public int getMplay_mode() {
		return mplay_mode;
	}

	public void setMplay_mode(int mplay_mode) {
		this.mplay_mode = mplay_mode;
	}

	public int getMvideo_playtime() {
		return mvideo_playtime;
	}

	public void setMvideo_playtime(int mvideo_playtime) {
		this.mvideo_playtime = mvideo_playtime;
	}

	public int getCurrentlist() {
		return currentlist;
	}

	public void setCurrentlist(int currentlist) {
		this.currentlist = currentlist;
	}
}
